export const maskPhoneNumber = (phone) => {
  if (!phone || typeof phone !== "string") return "";
  return phone.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2");
};
